package com.youhome.business.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * Created by chen365 on 2019/02/25.
 */
@Data
@ApiModel
public class DTOCompanyUpdate {
    @ApiModelProperty(value = "公司ID", required = true)
    @NotNull(message = "公司ID不能为空")
    private Long companyId;
    @ApiModelProperty(value = "公司网址")
    private String website;
    @ApiModelProperty(value = "公司规模")
    private String scale;
    @ApiModelProperty(value = "公司公众号")
    private String official_accounts;
    @ApiModelProperty(value = "公司公众号二维码")
    private String official_accounts_qr_code;
    @ApiModelProperty(value = "公司服务号")
    private String service_number;
    @ApiModelProperty(value = "公司LOGO")
    private String logo;
    @ApiModelProperty(value = "省")
    private String province;
    @ApiModelProperty(value = "市")
    private String city;
    @ApiModelProperty(value = "区")
    private String area;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "负责人姓名")
    private String principalName;
    @ApiModelProperty(value = "负责人联系电话")
    private String principalPhone;

    @ApiModelProperty(value = "负责人邮箱")
    @Email(message = "负责人邮箱不正确")
    private String principalEmail;

    @ApiModelProperty(value = "公司电话")
    private String companyTel;

    @ApiModelProperty(value = "公司邮箱")
    @Email(message = "公司邮箱不正确")
    private String companyEmail;

}
